/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.worksheet.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.worksheet.entity.ZlmtWorksheetFiles;
import com.thinkgem.jeesite.modules.worksheet.dao.ZlmtWorksheetFilesDao;

/**
 * 工单管理Service
 * @author johnKee
 * @version 2016-07-17
 */
@Service
@Transactional(readOnly = true)
public class ZlmtWorksheetFilesService extends CrudService<ZlmtWorksheetFilesDao, ZlmtWorksheetFiles> {

	@Autowired
	private ZlmtWorksheetFilesDao zlmtWorksheetFilesDao;

	public ZlmtWorksheetFiles get(String id) {
		return super.get(id);
	}

	public List<ZlmtWorksheetFiles> findByParams(String worksheetId) {
		return zlmtWorksheetFilesDao.findByParams(worksheetId);
	}
	
	public List<ZlmtWorksheetFiles> findList(ZlmtWorksheetFiles zlmtWorksheetFiles) {
		return super.findList(zlmtWorksheetFiles);
	}
	
	public Page<ZlmtWorksheetFiles> findPage(Page<ZlmtWorksheetFiles> page, ZlmtWorksheetFiles zlmtWorksheetFiles) {
		return super.findPage(page, zlmtWorksheetFiles);
	}
	
	@Transactional(readOnly = false)
	public void save(ZlmtWorksheetFiles zlmtWorksheetFiles) {
		super.save(zlmtWorksheetFiles);
	}
	
	@Transactional(readOnly = false)
	public void delete(ZlmtWorksheetFiles zlmtWorksheetFiles) {
		super.delete(zlmtWorksheetFiles);
	}
	
}